//created by: Justina Lee

Ext.define("MajorProjectSenchaTouch.store.OpeningHoursVBInfo", {
    extend: "Ext.data.Store",
    xtype: 'openingHoursVBInfoStore',
    requires:[
    'Ext.data.proxy.JsonP'
    ],
    config:{
        model: "MajorProjectSenchaTouch.model.OpeningHoursInfo",
        proxy:{
            type: 'jsonp',
            url: MajorProjectSenchaTouch.app.serverUrl + 'openinghours/getVBOpeningHours/',
            reader:{
                type: 'json',
                rootProperty: 'openingHoursInfo'
            }
        }
    }
});